Proficy Historian Client Access API
Proficy.Historian.ClientAccess.API Namespace / IData Interface / Comment Method / Comment(String,DateTime,String,String,Byte[]) Method
A tag name.
Time of comment.
Username to record with comment.
String describing the type of comment data.
Actual comment data to apply.


In This Topic
    Comment(String,DateTime,String,String,Byte[]) Method
    In This Topic
    Add a binary comment record for a tag in a Historian server.
    Syntax
    Overloads Sub Comment( _
       ByVal tagname As System.String, _
       ByVal time As System.Date, _
       ByVal username As System.String, _
       ByVal datatypeHint As System.String, _
       ByVal data() As System.Byte _
    ) 
    void Comment( 
       System.string tagname,
       System.DateTime time,
       System.string username,
       System.string datatypeHint,
       System.byte[] data
    )
    void Comment( 
       System.String^ tagname,
       System.DateTime time,
       System.String^ username,
       System.String^ datatypeHint,
       System.array<byte>^ data
    ) 

    Parameters

    tagname
    A tag name.
    time
    Time of comment.
    username
    Username to record with comment.
    datatypeHint
    String describing the type of comment data.
    data
    Actual comment data to apply.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also